package org.zxp.designpattern.decorator;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2019-08-23 11:32
 **/
public class Test {
    public static void main(String[] args){
        GetFreeMemory getFreeMemory = new GetFreeMemory();
        GetFreeMemoryDecoator decoator = new GetFreeMemoryDecoator(getFreeMemory);
        System.out.println(decoator.getlong());
    }
}
